data reception functions
to
can be <phone Number>@c.us
, <phone Number>-<groupId>@g.us
, or <phone Number><groupId>@g.us
.To use these functions, it is necessary to initialize the bot.
Click here to learn more.
Returns a list of contacts
const contacts = await client.getAllContacts();
Check if the number exists
const result = await client.checkNumber("<phone Number>@c.us");
Load all messages in chat by date
const result = await client.loadAndGetAllMessagesInChat("<phone Number>@c.us", "YYYY-MM-DD");
Generated using TypeDoc